﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CAUNetLogin.Util.Validate
{
    /// <summary>
    /// 对数据进行验证，静态类
    /// </summary>
    public static class DataValidate
    {
        /// <summary>
        /// 检测字符串是否为空,为空返回true
        /// </summary>
        /// <param name="text">输入的数据</param>
        /// <returns></returns>
        public static bool IsEmpty(string text)
        {
            return text.Trim() == "" ? true : false;
        }
    }
}
